home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
DEV
/
I-Z
/
RA.cpt
/
I_O.ra
< prev
next >
Wrap
Text File
|
1986-10-21
|
930b
|
52 lines
|
| RA™
|
| Program basics
|
| © 1986 COM~LINK & S.Koren
|
#M;
"RA™ supports 2 forms of simple!"
"input. Numeric and character.!!"
"Output is likewise supported in!"
"numeric and character form.!!"
"Currently string input is not!"
"provided. However, you may output!" "strings.!!"
#A;
"Any string imbedded between quotes!"
"is output to the output window.!"
"An imbedded exclamation point!"
"will force a cr/lf.!!"
#A;
"Sample I/O:!"
"Input a number: " ? A: "!"
"Input a character: " ?§ B: "!"
"The number was: " A. ! "!"
"The character was: " B. !§ "!"
"The ascii value of the character was: " B. ! "!!"
"
#A;
"THE END."
$
&A "Hit any key:" ?§ @ µ`
|
| RA title routine
|
&M @ #L; 8 A: ( #N; A. 1 - A: A. 0 > ~ ) #L; #O; #P;`
&O
40 100 Ω
"RA™"
60 45 Ω
"© 1986 COM~LINK & S.Koren"
80 60 Ω
"All rights reserved." `
&L
35 A: ("•" A. 1 - A: A. 0 > ~ ) "!"`
&N
"•" 33 A: (" " A. 1 - A: A. 0 > ~ ) "•" "!"`
&P ?§ @ `
$